﻿@{
    Layout = "";
}
@model SDF.Plugin.Payments.Manual.Models.ConfigurationModel
@using SDF.Web.Framework;

@Html.Action("ProjectScopeConfiguration", "Setting", new { area = "Admin" })

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    <div class="panel-group">
        <div class="panel panel-default">
            <div class="panel-body">
                <div class="form-group">
                    <div class="col-md-3">
                        @Html.OverrideProjectCheckboxFor(model => model.TransactModeId_OverrideForProject, model => model.TransactModeId, Model.ActiveProjectScopeConfiguration)
                        @Html.SDFLabelFor(model => model.TransactModeValues)
                    </div>
                    <div class="col-md-9">
                        @Html.SDFDropDownList("TransactModeId", Model.TransactModeValues)
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-3">
                        @Html.OverrideProjectCheckboxFor(model => model.AdditionalFee_OverrideForProject, model => model.AdditionalFee, Model.ActiveProjectScopeConfiguration)
                        @Html.SDFLabelFor(model => model.AdditionalFee)
                    </div>
                    <div class="col-md-9">
                        @Html.SDFEditorFor(model => model.AdditionalFee)
                        @Html.ValidationMessageFor(model => model.AdditionalFee)
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-3">
                        @Html.OverrideProjectCheckboxFor(model => model.AdditionalFeePercentage_OverrideForProject, model => model.AdditionalFeePercentage, Model.ActiveProjectScopeConfiguration)
                        @Html.SDFLabelFor(model => model.AdditionalFeePercentage)
                    </div>
                    <div class="col-md-9">
                        @Html.SDFEditorFor(model => model.AdditionalFeePercentage)
                        @Html.ValidationMessageFor(model => model.AdditionalFeePercentage)
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-3">
                        &nbsp;
                    </div>
                    <div class="col-md-9">
                        <input type="submit" name="save" class="btn bg-blue" value="@T("Admin.Common.Save")" />
                    </div>
                </div>
            </div>
        </div>
    </div>
}